import unittest
from UIAutoTest.day03.count import count


class countTest(unittest.TestCase):
    # 使用单元测试框架，创建的方法必须以test开头
    def test_add(self):
        res = count(5, 6)
        r = res.add()
        self.assertEquals(r, 12)

    def test_jian(self):
        sum = count(10, 5)
        s = sum.Subtraction()
        # 断言
        self.assertEqual(s, 5)
# if __name__ == '__main__':
#     # countTest.test_add()
#     countTest.test_jian()
